package com.wb.structual.proxy.jdk;

/**
 * @author 魏彪
 */
public class UserDao implements AbstractUserDao {
    @Override
    public boolean findUserById(String userId) {
        if (userId.equalsIgnoreCase("杨过")) {
            System.out.println(userId + "查询用户信息成功");
            return true;
        }
        System.out.println("查询用户信息失败");
        return false;
    }
}
